package com.sc.dao;

import java.util.List;

public interface BaseDao <E>{
    int add(E var1)throws Exception;
    int delete(int var1)throws Exception;
    int update(E var1) throws Exception;
    E queryById(int var1)throws Exception;
    List<E>queryAll()throws Exception;
}
